<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>第一个简单的JavaScript程序</title>
</head>
<body>
<div style="font-size:18px;">
<script type="text/javascript">
alert("Hello, JavaScript！");
prompt("请输入您的密码！");
</script>
</div>
</body>
</html>